import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/get_by_alarm_id_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/get_by_alarm_id_entity.g.dart';

@JsonSerializable()
class GetByAlarmIdEntity {
	late String createTime = '';
	late String updateTime = '';
	late String creator = '';
	late String updater = '';
	late bool deleted = false;
	late int id = 0;
	late int companyId = 0;
	late int systemId = 0;
	late int alarmId = 0;
	late int superviseUserId = 0;
	late String superviseType = '';
	late int superviseObjId = 0;
	late String superviseStatus = '';
	//督办人
	late String superviseUserName = '';
	//督办对象
	late String superviseObjName = '';

	GetByAlarmIdEntity();

	factory GetByAlarmIdEntity.fromJson(Map<String, dynamic> json) => $GetByAlarmIdEntityFromJson(json);

	Map<String, dynamic> toJson() => $GetByAlarmIdEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}